package com.ruoyi.system.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.api.domain.SysDatascope;
import com.ruoyi.system.mapper.SysDatascopeMapper;
import com.ruoyi.system.service.ISysDatascopeService;

/**
 * 数据权限Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-01-07
 */
@Service
public class SysDatascopeServiceImpl extends ServiceImpl<SysDatascopeMapper,SysDatascope> implements ISysDatascopeService {
    
    @Autowired
    private SysDatascopeMapper sysDatascopeMapper;

    @Override
    public SysDatascope selectSysDatascopeById(Long id){
        return sysDatascopeMapper.selectSysDatascopeById(id);
    }
      
    @Override
    public List<SysDatascope> selectSysDatascopeList(SysDatascope sysDatascope){
        return sysDatascopeMapper.selectSysDatascopeList(sysDatascope);
    }

}
